package com.example.tests;

import org.testng.annotations.Test;
import com.example.pages.LoginPage;

public class LogIn_OutTest extends TestBase {

	@Test
	public void testLogIn_Out() throws Exception {
		LoginPage logInwithWrongCredentials = goToMainPage()
				.logInwithWrongCredentials(login, incorrectConfirmPass);
		logInwithWrongCredentials.logInwithValidCredentials(login, oldPass)
				.logOut();
	}
}